package com.vzaar
{
import flash.events.Event;
import flash.net.FileReference;

public class VzaarEvent extends Event
	{
		public static const VZAAR_ACCOUNT_DETAILS:String = "vzaar_account_details";
		public static const VZAAR_USER_DETAILS:String = "vzaar_user_details";
		public static const VZAAR_VIDEO_DETAILS:String = "vzaar_video_details";
		public static const VZAAR_VIDEO_LIST:String = "vzaar_video_list";
		public static const VZAAR_WHO_AM_I:String = "vzaar_who_am_i";
		public static const VZAAR_UPLOAD_SIGNATURE:String = "vzaar_upload_signature";
		public static const VZAAR_SEARCHED_VIDEO_LIST:String = "vzaar_searched_video_list";
		public static const VZAAR_COMPLETE:String = "vzaar_complete";
		public static const VZAAR_UPLOAD_COMPLETE:String = "vzaar_upload_complete";
		public static const VZAAR_PROCESSING_COMPLETE:String = "vzaar_processing_complete";
		public static const VZAAR_VIDEO_DELETED:String = "vzaar_video_deleted";
		public static const VZAAR_VIDEO_EDITED:String = "vzaar_video_edited";
		
		public var result:*;
		public var dataType:String;
		public var fileRef:FileReference;
		
		public function VzaarEvent(type:String, result:* = null,dataType:String = "", reference:FileReference = null,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.result = result;
			this.dataType = dataType;
			this.fileRef = reference;
		}
	}
}